/**
 * 将获取的临时授权code返回后台，让后台获取用户信息验证
 */

import { request } from 'umi';


// 钉钉
export async function checkDingTalkAuthCode(data:Record<any, any>, options?: Record<string, any>) {
  return request('/api/user/autoLogin/dingTalk', {
    data,
    method: 'POST',
    ...(options || {}),
  });
}

